Method and apparatus for enhancing the performance of event driven dynamic simulation of digital circuits based on netlist partitioning techniques

ABSTRACT

Disclosed is a full-chip level verification methodology that combines static timing analysis techniques with dynamic event-driven simulation. The specification discloses a capability to partition a multiple-clock design into various clock domains and surrounding asynchronous regions automatically and to determine the timing of the design on an instance by instance basis. Static timing analysis techniques can be leveraged to verify the synchronous cores of each clock domain. The asynchronous regions of the design and the interaction between synchronous cores of the clock domains are validated using detailed dynamic event-driven simulation without the burden of carrying the interior timing attributes of the synchronous cores that have already been verified.

BACKGROUND AND SUMMARY OF THE INVENTION

[0001] The present invention relates generally to the functional verification of electronic designs and more particularly to the partitioning of a design under verification for the integration of dynamic simulation and static timing analysis methodologies. Today's engineers are faced with an increasing difficult task of handling the verification of state-of-the-art system-on-chip (SoC) designs. The various verification techniques in use fall into two major categories, namely the dynamic event-driven simulation and the static timing analysis (STA) techniques. STA techniques are based on simplifying the general model of event-driven computation to that of a synchronous model. By taking advantage of the separation of the timing and functional behavior made possible by the synchronous design style, STA tools can apply complete, rigorous, and efficient algorithms that result in an overwhelming performance advantage when compared to event-driven simulation.

[0002] However, the STA techniques are not directly applicable to most designs at the full-chip level. This is because most designs are a combination of synchronous logic blocks and asynchronous logic blocks, or other non-synchronous design blocks, such as embedded analog blocks. One illustration of such a full-chip design 100 is shown in FIG. 1. This exemplary full-chip design consists of four clock domains: block 102 is driven by CLK1; block 104 is driven by CLK2; block 106 is driven by CLK3; and block 108 is driven by CLK4. In addition, the design also contains an asynchronous block 110 and an analog block 112. As shown in FIG. 1, a typical design at the full chip level violates the separation of timing and functionality implicit in the synchronous model. Although most of the modules might be synchronous, the clocking methodology that has four different clock domains can result in asynchronous interaction with each other. Furthermore, the design could contain non-synchronous design constructs 110 and 112 that cannot be verified by STA techniques.

[0003] As a result, both sets of solutions have their unique problems when applied to the verification of a complete design. On one hand, the static verification algorithms require strict adherence to the synchronous design style. On the other hand, the dynamic event-driven simulation is limited by the computing power and memory capacity of the computers used. Therefore, it would be advantageous to have an improved method for full chip level verification.

[0004] Disclosed is a full-chip level verification methodology that combines static timing analysis techniques with dynamic event-driven simulation. The specification discloses capabilities to partition a multiple-clock design into various clock domains and surrounding asynchronous regions automatically and to apply timing behavior during simulation on an instance by instance basis.

[0005] Static timing analysis techniques can be leveraged to verify the synchronous cores of each clock domain. The asynchronous regions of the design and the interaction between synchronous cores of the clock domains are validated using detailed dynamic event-driven simulation without the burden of carrying the interior timing attributes of the synchronous cores that have already been verified. With the unnecessary interior timing attributes of synchronous cores removed during dynamic simulation, the disclosed method accelerates the verification process and requires less computing power and memory capacities to complete the verification of the full chip.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The accompanying drawings are included to provide a further understanding of the invention and, together with the detailed description of the preferred embodiment, serve to explain the principles of the invention.

[0007]FIG. 1 depicts an illustration of a fill-chip design.

[0008]FIG. 2 depicts one approach for determining clock domains.

[0009]FIG. 3 depicts one approach for crossing between two clock domains.

[0010]FIG. 4 depicts one approach for propagating color through a combinational instance.

[0011]FIG. 5 depicts one approach for propagating color through a Flip-Flop instance.

[0012]FIG. 6 depicts one approach for propagating color through a latch instance.

[0013]FIG. 7 depicts one approach for determining timing for a combinational instance.

[0014]FIG. 8 depicts one approach for determining timing for a clocked sequential instance with no asynchronous reset.

[0015]FIG. 9 depicts one approach for determining timing for a clocked sequential instance with asynchronous reset.

DETAILED DESCRIPTION

[0016] The disclosed methodology leverages the fact that the synchronous parts of a design have been validated by STA techniques to accelerate full-chip simulation by removing the timing from their synchronous cores. Synchronous cores are determined by netlist partitioning that can be applied at the module level or at the full-chip level. Partitioning at the module level preserves the intended design hierarchy and is a natural extension of the exiting STA techniques. However, when partitioning is applied at the full-chip level, larger synchronous cores are defined since they can include the inter-block regions separating two synchronous blocks controlled by the same clock. Furthermore, the synchronous regions determined by full-chip partitioning are delimited by sequential elements. After partitioning, the timing of the synchronous regions of each clock is verified by STA tools. Having verified the timing of the synchronous cores using STA techniques and generated the corresponding assertion for assumption verification, the design is now ready for full-chip dynamic simulation. Effective full chip verification is achieved by providing simulation acceleration on the synchronous cores and using assertions to validate the STA assumptions.

[0017] Detail timing removal from the synchronous core simulation is possible because the core timing have been verified by STA tools. Indeed, timing within the synchronous core is determined by the clocking of the storage elements and not by timing delay propagation. Thus, each sequential stage can be viewed as a static network that is evaluated once for every clock edge. The combinational logic evaluation step can then be collapsed into a single cycle triggering cycle optimizations such as compiling zero-delay logic cones. Eliminating output scheduling also reduces simulation overhead. Timing removal enables efficient full-chip simulation. The simulation can be focused on the interactions between clock domains and the non-synchronous regions of the design such as asynchronous and analog constructs. Hence, timing removal can result in dramatically faster simulation runtimes as well as potentially higher simulation capacity.

[0018] The disclosed design partitioning methodology divides all the nets of a full-chip design into regions that should be simulated with Full-Timing, and regions that could be simulated with timing removal. The method comprises three main phases: 1) Clock Domain Determination phase; 2) Netlist Coloring phase; and 3) Timing Determination phase.

[0019] A clock domain is defined to contain all sequential elements controlled by a single clock signal together with the combination logic driven by these elements. Determining clock domain is achieved by recognizing exclusivity regions that isolate the domain from the rest of the design. Exclusivity regions stop the flow of data into and out of the domain. The two primary elements that are capable of stopping the flow of data are Flip-Flops and Latches. A Flip-Flop or edge-triggered device is “self exclusive” or able to avoid data seepage by its very nature. Latches are level sensitive devices that are open when their controlling clock is active. In a latch-based design, exclusivity is achieved when closed or inactive Latches stop data flow. This is usually implemented using a multiple-phased clocking scheme. Because these clock phases never occur at the same time, the Latches in an exclusivity region are never open at the same time, thus stopping the flow of data at the boundary of the clock domain. Indeed a Flip-Flop can be thought of as a combination of two Latches: a master and a slave that are always enabled during different phases of the driving clock.

[0020] On the other hand, to detect exclusivity regions in a latch-based design, it is important to understand the relationships between co-operating clocks. A number of issues are tracked such as the ‘active’ phase of the Latches, the relationship of all clocks, as well as the effect that a clock path might have on a latch's active phase.

[0021]FIG. 2 illustrates one approach to determine clock domains among various circuit elements. Determining the clock domains of a design comprises the step of identification of sequential elements and followed by the step of Clock Walking. In the step of identification of Sequential Elements, the cells in the design are analyzed to determine which cell is sequential in nature. In FIG. 2, the sequential elements such as the Flip-Flops 202 and 204 are identified in this step. The clock-ports 206 and 208 as well as any set or reset ports of each sequential cell are also identified.

[0022] In the Clock Walking step, the list of sequential elements and a user-defined list of input clock signals are traversed starting at the clock pins. The Clock Walking process consists of tracing the loads of user-defined clock signals progressively, until all sequential elements controlled by the given clock signal are determined. The effect of the clock path on the clock signal is also tracked during Clock Walking to determine a latch's active phase. This is used for the detection of exclusivity regions in latch-based designs.

[0023] Sequential elements that remain without a controlling clock signal after the Clock Walking step are potentially part of an asynchronous design construct. They are treated as combinational logic in the Netlist Coloring phase.

[0024] A clock domain can further be divided into its synchronous core operating in a predictable step-by-step timing pattern with respect to the clock and the remaining logic where asynchronous interactions with the rest of the design can occur. It follows that the elements within a synchronous region can be simulated with No-Timing (NT) whereas those in the periphery should be run in Full-Timing (FT) mode. The purpose of partitioning is to separate the design elements that must operate at Full-Timing from those elements that can operate with no timing without impacting the functional and timing characteristics of the surrounding logic. Whereas combinational cells are divided into Full-Timing or no timing groups, the sequential cells are further subdivided into groups depending on the enabling or disabling of their capability to verify timing checks (i.e. setup and hold constraints).

[0025] A key to applying the rules of partitioning is recognizing domain crossings and exclusivity regions. Domain crossing occurs when a logic element from one clock domain drives a logic element in another clock domain. FIG. 3 illustrates one approach to recognize such a domain crossing, where the CLK 1 domain consists of exemplary Flip-Flop 304 and combinational logic 306 elements. Similarly, the CLK2 domain consists of exemplary Flip-Flop 310 and combinational logic 312 elements. Electronic data cross the clock domains from the combinational logic element 306 in CLK1 domain to the Flip-Flop 310 element in CLK2 domain.

[0026] Once the clock domains have been determined, the algorithm moves to the Netlist Coloring phase. The objective of the Netlist Coloring phase is to label each port of every instance in the design by a color, represented by a positive integer number that identifies the controlling signal. There are two types of controlling signals: 1) clocks; and 2) external pin signals.

[0027] Each clock is identified by its own color and the Color-Zero is used to identify the signals that should operate in Full-Timing. Initially all external pins of the design are assigned the Color-Zero except for the clock pins. External pin signals can change independently of clocks; therefore they are simulated in Full-Timing to capture accurate interaction of the design with the external world. The colors are then propagated to the rest of the netlist by forward traversal with different coloring procedures applied to combinational instances, Flip-Flop instances and latch instances. During netlist traversal, all the traversed ports are stored on a stack. This stack is cleared each time the propagated color changes when a Flip-Flop or a latch-based exclusivity region is reached. If the traversal reaches a different color domain or an output port, then the ports on the stack are assigned the Color-Zero. This process ensures that all the inter-clock regions as well as the output periphery regions are operating in Full-Timing in order to account for accurate asynchronous timing interactions.

[0028]FIG. 4 illustrates one approach to propagate color through a combinational instance. The method begins at block 402, and thereafter passes to block 404 where a determination is made as to whether or not any input port has a different color than the one being propagated. If this condition is true, then the “Yes” path is taken and the output ports are colored with the Color-Zero (block 406). Alternatively, if the condition is false, then the “No” path is taken and the output ports of the cell are colored with the color being propagated (block 408). In the case that at least two asynchronous signals interact at an instance, the outputs will be labeled with the Color-Zero and therefore the Full-Timing simulation of this instance is used.

[0029] This discussion of partitioning and coloring includes examples of embodiments that are in the presence of set and reset ports. Both port types have similar characteristics and effects on the partitioning procedure. The discussion may also include examples of embodiments in the presence of reset ports, however, the partitioning and coloring is also valid for embodiments that include the presence of set port.

[0030]FIG. 5 illustrates one approach to propagate color through a Flip-Flop instance. A Flip-Flop is an edge-triggered sequential device that is controlled by the rising or falling edge of the enabling clock signal. The methodology distinguishes between Flip-Flops with asynchronous reset; and those with synchronous reset or no reset i.e. synchronous Flip-Flops. The method begins at block 502, and thereafter passes to block 504 where a determination is made as to whether an asynchronous reset port exists. If an asynchronous reset port does not exist, i.e. the Flip-Flop is synchronous, the “No” path is taken and the output will be labeled with the same color as the clock (block 506), regardless of the color of the other input data signals since output changes are affected the clock signal transitions only. But if the Flip-Flop has an asynchronous reset port, changes in the output signals can occur independently of the clock when the asynchronous reset is activated. Then the “Yes” path is taken and the method continues at block 508 where a second determination is made as to whether or not the clock and reset ports have the same color. If both clock and reset ports have the same color, the output will be labeled with that same color (block 510). But if the colors of clock and reset ports are different, the output will be labeled with Color-Zero (block 512, indicating Full-Timing simulation is used).

[0031]FIG. 6 illustrates one approach to propagate color through a latch instance. A latch is a level sensitive device that is open when it controlling signal is active. While a Flip-Flop is self-exclusive by it very nature, a latch has to be controlled with clock signals that have the proper phase relationships to build an exclusivity region. In a latch-based design, inactive clock phases of a latch interrupt the flow of data. To detect a latch-based exclusivity region, the active phases of the latch and the relationship of all the co-operating clock phases have to be tracked. A latch can also have synchronous or asynchronous reset pins. A latch output color depends on whether an exclusivity region has been detected. If an exclusivity region has not been detected, then the data signal transition can affect the output signal when the clock is active. In this situation the three signals, namely data input, clock, and reset are taken into consideration when coloring the output. As shown in FIG. 6, the method begins at block 602, and thereafter passes to block 604 where a first determination is made as to whether an asynchronous reset port exists. If there is asynchronous reset port, then the “Yes” path is taken and the method continues at block 606 where a second determination is made as to whether the clock and reset ports have the same color. If the color and reset ports have different colors, then the output ports is colored with Color-Zero (block 608). But if an asynchronous reset port does not exist or the color and reset ports have the same color, then the method continues at block 610 where a third determination is made as to whether there is an exclusivity region. If there is an exclusivity region, then the output ports are colored with the color of the clock (block 612). Alternatively, the method moves to block 614 where the latch instance is treated the same as a combinational instance as described in FIG. 4.

[0032] In one exemplary approach, the event driven simulator has the capability of simulating a cell instance in one of the four possible timing modes on an instance-by-instance basis. The four timing behavior modes for a cell instance in this exemplary design are:

[0033] Full-Timing mode: Complete timing simulation is done.

[0034] No Timing mode: All timing delays and timing checks are removed.

[0035] Timing Checks mode (for sequential cells only): Input timing checks are performed.

[0036] I/O Delays mode (for sequential cells only): I/O path delays are included. After the Netlist Coloring phase, the mode of timing simulation is determined based on the color of the inputs and outputs of an individual instance. The following examples are used to identify the timing status of a cell in a design.

[0037]FIG. 7 illustrates one approach for determining timing for a combinational cell instance. The method starts at block 700 and thereafter passes to block 702. A determination is made in block 702 as to whether or not any port has Color-Zero. If any port is labeled with a Color-Zero, this instance is to be simulated in the Full-Timing mode (block 704). If no port has Color-Zero, then the “No” path is taken and the method continues at block 706 where a second determination is made as to whether or not all ports have the same color. If there are any two ports have different colors, then this instance is simulated in the Full-Timing mode (block 710). Otherwise, if all the ports have the same color, then this instance is simulated in the No Timing mode (block 708).

[0038]FIG. 8 illustrates one approach for determining timing for a clocked sequential instance with no asynchronous reset. This method starts at block 800 and thereafter passes to block 802. A determination is made in block 802 as to whether or not all input ports have same clock color. If all input ports have same clock color, then the “Yes” path is taken and the method moves to block 804. A second determination is made in block 804 as to whether or not all output ports have same clock color. If all output ports have same clock color, then this instance is simulated in the No Timing mode (block 806). Alternatively, this instance is simulated in the IO Delay mode (block 808). But if the determination in block 802 turns out that all input ports don't have same clock color, then the method moves on to block 810 where another determination is made as to whether or not all output ports have same clock color. If all output ports have same clock color, then the instance is simulated in the Timing Check mode (block 812). Otherwise, the instance is simulated in the Full-Timing mode (block 814).

[0039]FIG. 9 illustrates one approach for determining timing for a clocked sequential instance with asynchronous reset. This method begins at block 900, and thereafter moves to block 902. A determination is made in block 902 as to whether or not the clock and reset ports have Color-Zero. If the clock or reset ports have Color-Zero, then the instance is simulated in Full-Timing mode (block 904). Otherwise, the “No” path is taken and the method continues at block 906 where a second determination is made as to whether or not the clock and reset ports have different colors. If the clock and reset ports have different colors, then the instance is simulated in the Full-Timing mode (block 908). Otherwise, the timing of this instance is further determined in the same manner as if there is no asynchronous reset port as illustrated in FIG. 8 (block 910).

[0040] At this point, it should be noted that although the invention has been described with reference to specific embodiments, it should not be construed to be so limited. Those of ordinary skill in the art can modify the claimed invention with the benefit of this disclosure without departing from the spirit of the invention. For example, modifications can be made to introduce minor variations of the timing behavior modes for simulation. In addition, different coloring schemes and formats of color representations can be employed with the disclosed invention. All of these modifications can be applied to achieve desired functional verification goals of electronic designs. These and other uses and modifications are within the spirit and scope of the present invention. Thus, the invention should not be limited by the specific examples used to illustrate it but only by the scope of the appended claim 

What is claimed is:
 1. A method for verifying an electronic design, comprising the steps of: determining clock domains of the electronic design, coloring each netlist of the electronic design, based on said step of determining clock domains, with a color indicating a clock domain associated with each netlist, determining a behavior timing mode, based on said step of coloring, of each instance of the electronic design, and simulating each instance of the electronic design based on said behavior timing mode determined.
 2. The method of determining clock domains in claim 1, further comprising the step of assigning a plurality of user-defined clock signals with a plurality of clock colors represented by a corresponding plurality of computer recognizable symbols.
 3. The color of clock domain in claim 2, wherein an initial color of the electronic design is a color-zero represented by a computer recognizable symbol.
 4. The method of determining clock domains in claim 1 further comprising the steps of: identifying a list of sequential elements of the electronic design, traversing said list of sequential elements by tracing the loads of each user-defined clock signal progressively, until all sequential elements controlled by a given clock signal are determined.
 5. The sequential element in claim 4 comprises a flip-flop having at least an input port, an output port, a reset port and a clock port.
 6. The sequential element in claim 4 further comprises a pair of latches having a first latch and a second latch, each latch having at least an input port, an output port, a clock port, and an exclusive region exists between the first latch and the second latch.
 7. The pair of latches in claim 6, wherein the exclusive region exists when each latch is controlled by a separate clock in different phases.
 8. The method of traversing said list of sequential elements in claim 4, further comprising the step of determining domain crossing, wherein electronic data being transferred between two different clock domains is detected.
 9. The method of coloring each netlist of the electronic design in claim 1, further comprising the steps of: coloring a combinational instance, coloring a clocked flip-flop instance, and coloring a clocked latch instance.
 10. The method of coloring a combinational instance in claim 9, further comprising the steps of: if any input port has a different color than the input port color being propagated, coloring output ports with the color-zero, and if any input port does not have a different color than the input port color being propagated, coloring output ports with the input port color to be propagated.
 11. The method of coloring a clocked flip-flop instance in claim 9, further comprising the steps of: if an asynchronous reset port does not exist, coloring output ports with the clock color of the flip-flop instance, if an asynchronous reset port exists, and the clock and reset ports have the same color, coloring output ports with the clock color of the flip-flop instance, and if an asynchronous reset port exists, and the clock and reset ports do not have the same color, coloring output ports with the color-zero.
 12. The method of coloring a clocked latch instance in claim 9, further comprising the steps of: if an asynchronous reset port exists, and the clock and reset ports have different color, coloring output ports with the color-zero, if an asynchronous reset port exists, and the clock and reset ports have the same color, and an exclusive region exists, coloring output ports with the clock color, if an asynchronous reset port does not exist, and an exclusivity region exists, coloring output ports with the clock color, and if an asynchronous reset port does not exist, and an exclusivity region does not exist, coloring output ports according to the method of coloring a combinational instance.
 13. The method of determining behavior timing mode in claim 1, further comprising the steps of: determining behavior timing mode for a combinational instance, determining behavior timing mode for a clocked sequential instance with synchronous reset port, and determining behavior timing mode for a clocked sequential instance with asynchronous reset port.
 14. The method of determining behavior timing mode for a combinational instance in claim 13, further comprising the steps of: if any port has color zero, assigning the combinational instance a Full-Timing mode, if no port has color zero, and all ports have the same color, assigning the combinational instance a No-Timing mode, and if no port has color zero, and all ports do not have the same color, assigning the combinational instance the Full-Timing mode.
 15. The method of determining behavior timing mode for a clocked sequential instance with synchronous reset port in claim 13, further comprising the steps of: if all input ports have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a No-Timing mode, if all input ports have the same clock color, and all output ports do not have the same clock color, assigning the clocked sequential instance with synchronous reset port an IO-Delay mode, if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a Timing-Check mode, and if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port the Full-Timing mode.
 16. The method of determining behavior timing mode for a clocked sequential instance with asynchronous reset port in claim 13, further comprising the steps of: if the clock or reset ports have the color-zero, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, if the clock or reset ports don't have the color-zero, and the clock and reset ports have different colors, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, and if the clock or reset ports don't have the color-zero, and the clock and reset ports have same colors, determining timing of the clocked sequential instance with asynchronous reset port the same way as a clock sequential instance with synchronous reset port.
 17. The method of simulating each instance of electronic design in claim 1, further comprising the steps of: if an instance has the Full-Timing mode, simulating the instance with complete timing information included, if an instance has the No-Timing mode, simulating the instance with all timing delays and timing checks removed, if an instance has the Timing-Check mode, simulating the instance with input timing checks performed, and if an instance has the IO-Delay mode, simulating the instance with input and output path delays included.
 18. A computer readable medium carrying one or more sequences of one or more instructions for verifying an electronic design, wherein the execution of the one or more sequences of the one or more instructions causes the one or more processors to perform the steps of: determining clock domains of the electronic design, coloring each netlist of the electronic design, based on said step of determining clock domains, with a color indicating a clock domain associated with each netlist, determining a behavior timing mode, based on said step of coloring, of each instance of the electronic design, and simulating each instance of the electronic design based on said behavior timing mode determined.
 19. The computer readable medium of claim 18, further comprising the step of assigning a plurality of user-defined clock signals with a plurality of clock colors represented by a corresponding plurality of computer recognizable symbols.
 20. The computer readable medium of claim 19, wherein an initial color of the electronic design is a color-zero represented by a computer recognizable symbol.
 21. The computer readable medium of claim 18, wherein the method of determining clock domains further comprising the steps of: identifying a list of sequential elements of the electronic design, traversing said list of sequential elements by tracing the loads of each user-defined clock signal progressively, until all sequential elements controlled by a given clock signal are determined.
 22. The computer readable medium in claim 21, wherein the sequential element comprises a flip-flop having at least an input port, an output port, a reset port and a clock port.
 23. The computer readable medium in claim 21, wherein the sequential element further comprises a pair of latches having a first latch and a second latch, each latch having at least an input port, an output port, a clock port and a clock port, and an exclusive region exists between the first latch and the second latch.
 24. The computer readable medium of claim 23, wherein the exclusive region exists in the pair of latches when each latch is controlled by a separate clock in different phases.
 25. The computer readable medium of claim 21, wherein the method of traversing said list of sequential elements further comprising the step of determining domain crossing, where electronic data being transferred between two different clock domains is detected.
 26. The computer readable medium of claim 18, wherein the method of coloring each netlist of the electronic design further comprising the steps of: coloring a combinational instance, coloring a clocked flip-flop instance, and coloring a clocked latch instance.
 27. The computer readable medium of claim 26, wherein the method of coloring a combinational instance further comprising the steps of: if any input port has a different color than the input port color being propagated, coloring output ports with the color-zero, and if any input port does not have a different color than the input port color being propagated, coloring output ports with the input port color to be propagated.
 28. The computer readable medium of claim 26, wherein the method of coloring a clocked flip-flop instance further comprising the steps of: if an asynchronous reset port does not exist, coloring output ports with the clock color of the flip-flop instance, if an asynchronous reset port exists, and the clock and reset ports have the same color, coloring output ports with the clock color of the flip-flop instance, and if an asynchronous reset port exists, and the clock and reset ports do not have the same color, coloring output ports with the color-zero.
 29. The computer readable medium of claim 26, wherein the method of coloring a clocked latch instance further comprising the steps of: if an asynchronous reset port exists, and the clock and reset ports have different color, coloring output ports with the color-zero, if an asynchronous reset port exists, and the clock and reset ports have the same color, and an exclusive region exists, coloring output ports with the clock color, if an asynchronous reset port does not exist, and an exclusivity region exists, coloring output ports with the clock color, and if an asynchronous reset port does not exist, and an exclusivity region does not exist, coloring output ports according to the method of coloring a combinational instance.
 30. The computer readable medium of claim 18, wherein the method of determining behavior timing mode further comprising the steps of: determining behavior timing mode for a combinational instance, determining behavior timing mode for a clocked sequential instance with synchronous reset port, and determining behavior timing mode for a clocked sequential instance with asynchronous reset port.
 31. The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a combinational instance further comprising the steps of: if any port has color zero, assigning the combinational instance a Full-Timing mode, if no port has color zero, and all ports have the same color, assigning the combinational instance a No-Timing mode, and if no port has color zero, and all ports do not have the same color, assigning the combinational instance the Full-Timing mode.
 32. The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a clocked sequential instance with synchronous reset port further comprising the steps of: if all input ports have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a No-Timing mode, if all input ports have the same clock color, and all output ports do not have the same clock color, assigning the clocked sequential instance with synchronous reset port an IO-Delay mode, if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port a Timing-Check mode, and if all input ports do not have the same clock color, and all output ports have the same clock color, assigning the clocked sequential instance with synchronous reset port the Full-Timing mode.
 33. The computer readable medium of claim 30, wherein the method of determining behavior timing mode for a clocked sequential instance with asynchronous reset port further comprising the steps of: if the clock or reset ports have the color-zero, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, if the clock or reset ports don't have the color-zero, and the clock and reset ports have different colors, assigning the clocked sequential instance with asynchronous reset port the Full-Timing mode, and if the clock or reset ports don't have the color-zero, and the clock and reset ports have same colors, determining timing of the clocked sequential instance with asynchronous reset port the same way as a clock sequential instance with synchronous reset port.
 34. The computer readable medium of claim 18, wherein the method of simulating each instance of electronic design further comprising the steps of: if an instance has the Full-Timing mode, simulating the instance with complete timing information included, if an instance has the No-Timing mode, simulating the instance with all timing delays and timing checks removed, if an instance has the Timing-Check mode, simulating the instance with input timing checks performed, and if an instance has the IO-Delay mode, simulating the instance with input and output path delays included. 